package com.skynet.supervision.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.skynet.supervision.entities.base.BaseEntity;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.EqualsAndHashCode;

/**
 * @author xuchao
 * @description t_sys_dept_post
 * @date 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_dept_post")
public class SysDeptPost extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 岗位id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 岗位名称
     */
    private String name;

    /**
     * 排序
     */
    private Integer sort;

}
